package com.wavefront.obj.parser;

import com.wavefront.obj.elements.Face;
import com.wavefront.obj.elements.Mesh;

public abstract class ObjParser extends Parser {
	
	public static String currentMaterialName;
	public static Mesh currentMesh;
	public static Face currentFace;
	
	protected static ObjLineParserFactory lineParserFactory;
	
	public static LineParser getLineParser(String lineType) {
		if(lineParserFactory == null) ObjParser.lineParserFactory = new ObjLineParserFactory();
		return ObjParser.lineParserFactory.getLineParser(lineType);
	}
	
}
